package com.cloudbroker.bcs.platform.dav.bizapi.constants.type;

public enum BrokerLoginType {
    
    APP("APP", "APP"),
    
    WEB("WEB", "WEB"),
    
    ;
    
    private final String val;
    
    private final String description;
    
    private String toString;
    
    private BrokerLoginType(String val, String description) {
        this.val = val;
        this.description = description;
    }
    
    public String getVal() {
        return val;
    }
    
    public String getDescription() {
        return description;
    }
    
    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("StaffPwdKind[").append(val).append(':').append(description)
                    .append(']').toString();
        }
        return toString;
    }
    
}
